using System;

/// <summary>
/// Summary description for CurrentUser
/// </summary>

namespace ECommerce.Library.Web
{
    public class CurrentUser
    {
        #region CurrentUser Private Fields

        private int _id;
        private string _userName;
        private string _userEmail;
        private string _fullName;
        private DateTime _lastVisit;
        private int _membershipId;

        #endregion

        #region CurrentUser Constractors

        public CurrentUser() { }

        public CurrentUser
        (
            int id,
            string userName,
            string userEmail,
            string fullName,
            DateTime lastVisit,
            int membershipId    
        )
        {
            this._id = id;
            this._userName = userName;
            this._userEmail = userEmail;
            this._fullName = fullName;
            this._lastVisit = lastVisit;
            this._membershipId = membershipId;
        }

        #endregion

        #region CurrentUser Properties

        public int Id
        {
            get { return this._id; }
            set { this._id = value; }
        }

        public string UserName
        {
            get { return this._userName; }
            set { this._userName = value; }
        }

        public string UserEmail
        {
            get { return this._userEmail; }
            set { this._userEmail = value; }
        }

        public string FullName
        {
            get { return this._fullName; }
            set { this._fullName = value; }
        }

        public DateTime LastVisit
        {
            get { return this._lastVisit; }
            set { this._lastVisit = value; }
        }

        public int MembershipId
        {
            get { return this._membershipId; }
            set { this._membershipId = value; }
        }

        #endregion
    }
}
